{% extends 'home.html' %}
{% block content %}

    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>PH酸度计</title>
        <link href="/static/css/kfc_yb.css" rel="stylesheet">
    </link>
        <script src="/static/bootstrap/js/jquery.min.js" type="text/javascript"></script>
        <script src="/static/js/PH.js" type="text/javascript"></script>
    </head>
        <style>
            /* 保留其他样式不变 */
            table#tools input,
            table#tools select {
                width: 95% !important;
            }
        </style>
    </head>

    <body>

    <form name="form1" method="post" id="form1">
        {% csrf_token %}
        <div class="c-layout-page">
            <div class="c-content-box c-size-md c-bg-white">
                <div>
                    <div class="c-content-title-1">
                        <h3 class="c-center c-font-dark c-font-uppercase">校准记录</h3>
                        <div class="c-line-center c-theme-bg"></div>
                        <p class="c-center"></p>
                    </div>
                    <div class="c-content-panel">
                        <div class="c-label">仪器基础信息输入</div>
                        <div class="c-body">
                            <div class="row">
                                <div class="col-md-12">
                                    <table class="table" id="tools">
                                        <tbody>
                                        <tr>
                                            <th style="text-align:center">仪器名称</th>
                                            <td><input name="A1PH_Name01" type="text" value="pH(酸度)计"
                                                       id="A1PH_Name01" style="height:25px"></td>
                                            <th style="text-align:center">仪器接收编号</th>
                                            <td colspan="4"><input name="A1PH_Received02" type="text"
                                                                   value="{{ A1PH_Received02 }}" readonly="readonly"
                                                                   id="A1PH_Received02"
                                                                   style="background-color:#F3F3F3;height:25px; width:380px">
                                            </td>

                                        </tr>
                                        <tr>
                                            <th style="text-align:center">型号/规格</th>
                                            <td><input name="A1PH_ProdModel03" type="text" id="A1PH_ProdModel03"
                                                       style="height:25px"></td>
                                            <th style="text-align:center">仪器序列号</th>
                                            <td><input name="A1PH_SN04" type="text" id="A1PH_SN04" style="height:25px">
                                            </td>
                                            <th style="text-align:center">模块系列号(如有)</th>
                                            <td colspan="2"><input name="A1PH_Model05" type="text" id="A1PH_Model05"
                                                                   style="width:140px;height:25px"></td>
                                        </tr>
                                        <tr>
                                            <th style="text-align:center">校准依据</th>
                                            <td><input name="A1PH_Xz06" type="text" value="JJG 119-2018" id="A1PH_Xz06"
                                                       style="height:25px"></td>
                                            <th style="text-align:center">校准日期</th>
                                            <td><input name="A1PH_Rq07" type="text" value="{{ date }}" id="A1PH_Rq07"
                                                       style="height:25px"></td>
                                            <th style="text-align:center"><span style="color: red;">*</span>仪器级别</th>
                                            <td colspan="2"><select name="A1PH_Level08" id="A1PH_Level08"
                                                                    onchange="searchChange()"
                                                                    style="height:33px;width:100%;">
                                                <option value="0">---请选择---</option>
                                                <option value="0.01">0.01</option>
                                                <option value="0.001">0.001</option>

                                            </select>
                                            </td>
                                        </tr>
                                        <tr>
                                            <th style="text-align:center">pH量程</th>
                                            <td>+/-<input name="A1PH_LC09" type="text" value="0~14" id="A1PH_LC09"
                                                          onchange="Setnum(9);" style="width:50px !important;height:25px"></td>
                                            <th style="text-align:center">电压量程</th>
                                            <td>+/-<input name="A1PH_Dy10" type="text" value="2000" id="A1PH_Dy10"
                                                          onblur="Setnum(10);" style="width:50px !important;height:25px"> mV
                                            </td>
                                            <th style="text-align:center">环境条件</th>
                                            <td><input name="A1PH_Wd11" type="text" id="A1PH_Wd11"
                                                    style="height:25px; width:50px !important;">&nbsp;°C &nbsp;&nbsp;<input
                                                    name="A1PH_Sd12" type="text" id="A1PH_Sd12"
                                                    style="height:25px; width:50px !important;">&nbsp;%RH
                                            </td>
                                        </tr>
                                        <tr>
                                            <th style="text-align:center">复合电极型号</th>
                                            <td><input name="A1PH_Fhdjxh13" type="text" id="A1PH_Fhdjxh13"
                                                       style="height:25px"></td>
                                            <th style="text-align:center">复合电极序列号</th>
                                            <td colspan="4"><input name="A1PH_Fhdjxlh13" type="text" id="A1PH_Fhdjxlh13"
                                                       style="height:25px"></td>
                
                                        <tr>
                                            <th style="text-align:center">名称/型号</th>
                                            <th style="text-align:center">编号</th>
                                            <th style="text-align:center">计量标准证书编号</th>
                                            <th style="text-align:center">有效期</th>
                                            <th style="text-align:center">校准机构</th>
                                            <th style="text-align:center">准确度等级</th>
                                        </tr>
                                        <tr>
                                            <td><input name="BLPH_Xmxh16" type="text" value="/"
                                                    id="BLPH_Xmxh16" style="height:25px"></td>
                                            <td><input name="BLPH_Bh17" id="BLPH_Bh17"type="text"
                                                    style="height:30px;width:107px;">
                                                    </td>
                                            
                                            <td><input name="BLPH_Jlzsbh18" type="text" id="BLPH_Jlzsbh18"value="/"
                                                    style="height:25px"></td>
                                            <td><input name="BLPH_Yxrq19" type="text" id="BLPH_Yxrq19"value="/"
                                                    style="height:25px"></td>
                                            <td><input name="BLPH_Yzjg20" type="text" value="/" id="BLPH_Yzjg20"value="/"
                                                    style="height:25px"></td>
                                            <td><input name="BLPH_Zqddj21" type="text" value="/"
                                                    id="BLPH_Zqddj21" style="width:140px;height:25px"></td>

                                        </tr>
                                        <tr>
                                            <td><input name="BLPH_Xmxh22" type="text" value="/" id="BLPH_Xmxh22"
                                                    style="height:25px"></td>
                                            <td><input name="BLPH_Bh23" type="text" value="/" id="BLPH_Bh23"
                                                    style="height:25px"></td>
                                            <td><input name="BLPH_Jlzsbh24" type="text" value="/" id="BLPH_Jlzsbh24"
                                                    style="height:25px"></td>
                                            <td><input name="BLPH_Yxrq25" type="text" value="/" id="BLPH_Yxrq25"
                                                    style="height:25px"></td>
                                            <td><input name="BLPH_Yzjg26" type="text" value="/" id="BLPH_Yzjg26"
                                                    style="height:25px"></td>
                                            <td><input name="BLPH_Zqddj27" type="text" value="/" id="BLPH_Zqddj27"
                                                    style="width:140px;height:25px"></td>

                                        </tr>
                                        <tr>
                                            <td><input name="BLPH_Xmxh28" type="text" id="BLPH_Xmxh28"value="/"
                                                    style="height:25px"></td>
                                            <td><input name="BLPH_Bh29" type="text" id="BLPH_Bh29"value="/"
                                                    style="height:25px">
                                            </td>
                                            <td><input name="BLPH_Jlzsbh30" type="text" id="BLPH_Jlzsbh30"value="/"
                                                    style="height:25px"></td>
                                            <td><input name="BLPH_Yxrq31" type="text" id="BLPH_Yxrq31"value="/"
                                                    style="height:25px"></td>
                                            <td><input name="BLPH_Yzjg32" type="text" id="BLPH_Yzjg32"value="/"
                                                    style="height:25px"></td>
                                            <td><input name="BLPH_Zqddj33" type="text" id="BLPH_Zqddj33"value="/"
                                                    style="width:140px;height:25px"></td>

                                        </tr>
                                        <tr>
                                            <td><input name="BLPH_Xmxh34" type="text" id="BLPH_Xmxh34"value="/"
                                                    style="height:25px"></td>
                                            <td><input name="BLPH_Bh35" type="text" id="BLPH_Bh35"value="/"
                                                    style="height:25px">
                                            </td>
                                            <td><input name="BLPH_Jlzsbh36" type="text" id="BLPH_Jlzsbh36"value="/"
                                                    style="height:25px"></td>
                                            <td><input name="BLPH_Yxrq37" type="text" id="BLPH_Yxrq37"value="/"
                                                    style="height:25px"></td>
                                            <td><input name="BLPH_Yzjg38" type="text" id="BLPH_Yzjg38"value="/"
                                                    style="height:25px"></td>
                                            <td><input name="BLPH_Zqddj39" type="text" id="BLPH_Zqddj39"value="/"
                                                    style="width:140px;height:25px"></td>

                                        </tr>
                                        <tr>
                                            <td><input name="BLPH_Xmxh40" type="text" id="BLPH_Xmxh40"value="/"
                                                    style="height:25px"></td>
                                            <td><input name="BLPH_Bh41" type="text" id="BLPH_Bh41"value="/"
                                                    style="height:25px">
                                            </td>
                                            <td><input name="BLPH_Jlzsbh42" type="text" id="BLPH_Jlzsbh42"value="/"
                                                    style="height:25px"></td>
                                            <td><input name="BLPH_Yxrq43" type="text" id="BLPH_Yxrq43"value="/"
                                                    style="height:25px"></td>
                                            <td><input name="BLPH_Yzjg44" type="text" id="BLPH_Yzjg44"value="/"
                                                    style="height:25px"></td>
                                            <td><input name="BLPH_Zqddj45" type="text" id="BLPH_Zqddj45"value="/"
                                                    style="width:140px;height:25px"></td>

                                        </tr>
                                        <tr>
                                            <td><input name="BLPH_Xmxh46" type="text" id="BLPH_Xmxh46"value="/"
                                                    style="height:25px"></td>
                                            <td><input name="BLPH_Bh47" type="text" id="BLPH_Bh47"value="/"
                                                    style="height:25px">
                                            </td>
                                            <td><input name="BLPH_Jlzsbh48" type="text" id="BLPH_Jlzsbh48"value="/"
                                                    style="height:25px"></td>
                                            <td><input name="BLPH_Yxrq49" type="text" id="BLPH_Yxrq49"value="/"
                                                    style="height:25px"></td>
                                            <td><input name="BLPH_Yzjg50" type="text" id="BLPH_Yzjg50"value="/"
                                                    style="height:25px"></td>
                                            <td><input name="BLPH_Zqddj51" type="text" id="BLPH_Zqddj51"value="/"
                                                    style="width:140px;height:25px"></td>

                                        </tr>

                                        <tr>
                                            <td><input name="BLPH_Xmxh52" type="text" id="BLPH_Xmxh52"value="/"
                                                    style="height:25px"></td>
                                            <td><input name="BLPH_Bh53" type="text" id="BLPH_Bh53" value="/"style="height:25px">
                                            </td>
                                            <td><input name="BLPH_Jlzsbh54" type="text" id="BLPH_Jlzsbh54"value="/"
                                                    style="height:25px"></td>
                                            <td><input name="BLPH_Yxrq55" type="text" id="BLPH_Yxrq55"value="/"
                                                    style="height:25px"></td>
                                            <td><input name="BLPH_Yzjg56" type="text" id="BLPH_Yzjg56"value="/"
                                                    style="height:25px"></td>
                                            <td><input name="BLPH_Zqddj57" type="text" id="BLPH_Zqddj57"value="/"
                                                    style="width:140px;height:25px"></td>
                                        </tr>
                                        <tr>
                                            <td><input name="BLPH_Xmxh58" type="text" id="BLPH_Xmxh58"value="/"
                                                    style="height:25px"></td>
                                            <td><input name="BLPH_Bh59" type="text" id="BLPH_Bh59" value="/"style="height:25px">
                                            </td>
                                            <td><input name="BLPH_Jlzsbh60" type="text" id="BLPH_Jlzsbh60"value="/"
                                                    style="height:25px"></td>
                                            <td><input name="BLPH_Yxrq61" type="text" id="BLPH_Yxrq61"value="/"
                                                    style="height:25px"></td>
                                            <td><input name="BLPH_Yzjg62" type="text" id="BLPH_Yzjg62"value="/"
                                                    style="height:25px"></td>
                                            <td><input name="BLPH_Zqddj63" type="text" id="BLPH_Zqddj63"value="/"
                                                    style="width:140px;height:25px"></td>
                                        </tr>


                                        <tr>
                                            <td>生产厂商</td>
                                            <td colspan="5"><input name="A1PH_Sccs52" type="text" 
                                                                value="梅特勒托利多" id="A1PH_Sccs52"
                                                                style="width:920px;height:25px"></td>


                                            </tr>
                                            <tr>
                                                <td>证书单位</td>
                                                <td colspan="5"><input name="A1PH_Zsdw53" type="text" id="A1PH_Zsdw53"
                                                        style="width:920px;height:25px"></td>


                                            </tr>
                                            <tr>
                                                <td>证书地址</td>
                                                <td colspan="5"><input name="A1PH_Zsdz54" type="text" id="A1PH_Zsdz54"
                                                        style="width:920px;height:25px"></td>


                                            </tr>
                                            <tr>
                                                <td>校准地点</td>
                                                <td colspan="5"><input name="A1PH_Xzdd55" type="text" id="A1PH_Xzdd55"
                                                        style="width:920px;height:25px"></td>


                                            </tr>

                                        <tr>
                                            <td>外观检查：</td>
                                            <td colspan="2">符合 <input id="A1PH_Wgjcfh56" type="checkbox"
                                                                        name="A1PH_Wgjcfh56" style="width:20px !important;"></td>
                                            <td colspan="3">不符合 <input id="A1PH_Wgjcbfh57" type="checkbox"
                                                                          name="A1PH_Wgjcbfh57" style="width:20px !important;"></td>
                                        </tr>

                                        <!-- 将 PH_view.html 中的校准项目部分 -->
                                        <tr>
                                            <td><span style="color: red;">*</span>校准项目：</td>
                                            <td colspan="2">
                                                电计示值误差 <input id="A1PH_Jzxm_0" type="checkbox" name="A1PH_Jzxm" value="0" 
                                                    style="width:20px !important;" disabled>
                                            </td>
                                            <td colspan="3">
                                                整机示值误差 <input id="A1PH_Jzxm_1" type="checkbox" name="A1PH_Jzxm" value="1" 
                                                    style="width:20px !important;" disabled>
                                            </td>
                                        </tr>
                                        </tbody>
                                    </table>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="c-content-panel">
                        <div class="c-label">计量性能要求</div>
                        <div class="c-body">
                            <div class="row">
                                <div class="col-md-12">
                                    <table class="table">
                                        <!-- <caption>电计 pH 挡示值误差：等电位 pH 值: 7 pH 温度补偿 25°C</caption> -->

                                        <caption>
                                             电计pH挡示值误差(pH)：
                                            <input name="B5" type="text" id="B5" readonly="readonly" 
                                                style="width:140px; height:25px;border-width: 0.5px; border-style: inset; background-color: #F3F3F3">
                                        </caption>
                                        <tbody>
                                        <tr>
                                            <th rowspan="2" style="text-align: center;">pH 输入</th>
                                            <th colspan="3">电计示值</th>
                                            <th>电计</th>
                                        </tr>
                                        <tr>
                                            <td>1</td>
                                            <td>2</td>
                                            <td>平均</td>
                                            <td>示值误差</td>
                                        </tr>
                                        <tr>
                                            <td><input name="B0" type="text" id="B0" value="0.0000" readonly="readonly"
                                                       style="width:55px; height:25px;border-width: 0px; font-size:15px; border-style: inset">
                                            </td>
                                            <td><input name="B1" type="number" id="B1" onkeyup="Wonkeyup(this)"
                                                       style="width:140px; height:25px" onchange="_SetDigitalInput(1);" step="0.001">
                                            </td>
                                            <td><input name="B2" type="number" id="B2" onkeyup="Wonkeyup(this)"
                                                       style="width:140px; height:25px" onchange="_SetDigitalInput(2);" step="0.001">
                                            </td>
                                            <td><input name="B3" type="text" id="B3" readonly="readonly"
                                                       style="width:140px; height:25px;border-width: 0.5px; border-style: inset; background-color: #F3F3F3">
                                            </td>
                                            <td><input name="B4" type="text" id="B4" readonly="readonly"
                                                       style="width:140px; height:25px;border-width: 0.5px; border-style: inset; background-color: #F3F3F3">
                                            </td>
                                            <td style="display: none;"><input name="B5" type="text" id="B5" readonly="readonly">
                                            </td>
                                        </tr>
                                        <tr>
                                            <td><input name="B6" type="text" id="B6" value="1.0000" readonly="readonly"
                                                       style="width:55px; height:25px;border-width: 0px; font-size:15px; border-style: inset">
                                            </td>
                                            <td><input name="B7" type="number" id="B7" onkeyup="Wonkeyup(this)"
                                                       style="width:140px; height:25px" onchange="_SetDigitalInput(7);" step="0.001">
                                            </td>
                                            <td><input name="B8" type="number" id="B8" onkeyup="Wonkeyup(this)"
                                                       style="width:140px; height:25px" onchange="_SetDigitalInput(8);" step="0.001">
                                            </td>
                                            <td><input name="B9" type="text" id="B9" readonly="readonly"
                                                       style="width:140px; height:25px;border-width: 0.5px; border-style: inset; background-color: #F3F3F3">
                                            </td>
                                            <td><input name="B10" type="text" id="B10" readonly="readonly"
                                                       style="width:140px; height:25px;border-width: 0.5px; border-style: inset; background-color: #F3F3F3">
                                            </td>
                                            <td style="display: none;"><input name="B11" type="text" id="B11" readonly="readonly">
                                            </td>
                                        </tr>
                                        <tr>
                                            <td><input name="B12" type="text" id="B12" value="2.0000"
                                                       readonly="readonly"
                                                       style="width:55px; height:25px;border-width: 0px; font-size:15px; border-style: inset">
                                            </td>
                                            <td><input name="B13" type="number" id="B13" onkeyup="Wonkeyup(this)"
                                                       style="width:140px; height:25px"
                                                       onchange="_SetDigitalInput(13);" step="0.001"></td>
                                            <td><input name="B14" type="number" id="B14" onkeyup="Wonkeyup(this)"
                                                       style="width:140px; height:25px"
                                                       onchange="_SetDigitalInput(14);" step="0.001"></td>
                                            <td><input name="B15" type="text" id="B15" readonly="readonly"
                                                       style="width:140px; height:25px;border-width: 0.5px; border-style: inset; background-color: #F3F3F3">
                                            </td>
                                            <td><input name="B16" type="text" id="B16" readonly="readonly"
                                                       style="width:140px; height:25px;border-width: 0.5px; border-style: inset; background-color: #F3F3F3">
                                            </td>
                                            <td style="display: none;"><input name="B17" type="text" id="B17" readonly="readonly">
                                            </td>
                                        </tr>
                                        <tr>
                                            <td><input name="B18" type="text" id="B18" value="3.0000"
                                                       readonly="readonly"
                                                       style="width:55px; height:25px;border-width: 0px; font-size:15px; border-style: inset">
                                            </td>
                                            <td><input name="B19" type="number" id="B19" onkeyup="Wonkeyup(this)"
                                                       style="width:140px; height:25px"
                                                       onchange="_SetDigitalInput(19);" step="0.001"></td>
                                            <td><input name="B20" type="number" id="B20" onkeyup="Wonkeyup(this)"
                                                       style="width:140px; height:25px"
                                                       onchange="_SetDigitalInput(20);" step="0.001"></td>
                                            <td><input name="B21" type="text" id="B21" readonly="readonly"
                                                       style="width:140px; height:25px;border-width: 0.5px; border-style: inset; background-color: #F3F3F3">
                                            </td>
                                            <td><input name="B22" type="text" id="B22" readonly="readonly"
                                                       style="width:140px; height:25px;border-width: 0.5px; border-style: inset; background-color: #F3F3F3">
                                            </td>
                                            <td style="display: none;"><input name="B23" type="text" id="B23" readonly="readonly">
                                            </td>
                                        </tr>
                                        <tr>
                                            <td><input name="B24" type="text" id="B24" value="4.0000"
                                                       readonly="readonly"
                                                       style="width:55px; height:25px;border-width: 0px; font-size:15px; border-style: inset">
                                            </td>
                                            <td><input name="B25" type="number" id="B25" onkeyup="Wonkeyup(this)"
                                                       style="width:140px; height:25px"
                                                       onchange="_SetDigitalInput(25);" step="0.001"></td>
                                            <td><input name="B26" type="number" id="B26" onkeyup="Wonkeyup(this)"
                                                       style="width:140px; height:25px"
                                                       onchange="_SetDigitalInput(26);" step="0.001"></td>
                                            <td><input name="B27" type="text" id="B27" readonly="readonly"
                                                       style="width:140px; height:25px;border-width: 0.5px; border-style: inset; background-color: #F3F3F3">
                                            </td>
                                            <td><input name="B28" type="text" id="B28" readonly="readonly"
                                                       style="width:140px; height:25px;border-width: 0.5px; border-style: inset; background-color: #F3F3F3">
                                            </td>
                                            <td style="display: none;"><input name="B29" type="text" id="B29" readonly="readonly">
                                            </td>
                                        </tr>

                                        <tr>
                                            <td><input name="B30" type="text" id="B30" value="5.0000"
                                                       readonly="readonly"
                                                       style="width:55px; height:25px;border-width: 0px; font-size:15px; border-style: inset">
                                            </td>
                                            <td><input name="B31" type="number" id="B31" onkeyup="Wonkeyup(this)"
                                                       style="width:140px; height:25px"
                                                       onchange="_SetDigitalInput(31);" step="0.001"></td>
                                            <td><input name="B32" type="number" id="B32" onkeyup="Wonkeyup(this)"
                                                       style="width:140px; height:25px"
                                                       onchange="_SetDigitalInput(32);" step="0.001"></td>
                                            <td><input name="B33" type="text" id="B33" readonly="readonly"
                                                       style="width:140px; height:25px;border-width: 0.5px; border-style: inset; background-color: #F3F3F3">
                                            </td>
                                            <td><input name="B34" type="text" id="B34" readonly="readonly"
                                                       style="width:140px; height:25px;border-width: 0.5px; border-style: inset; background-color: #F3F3F3">
                                            </td>
                                            <td style="display: none;"><input name="B35" type="text" id="B35" readonly="readonly">
                                            </td>
                                        </tr>
                                        <tr>
                                            <td><input name="B36" type="text" id="B36" value="6.0000"
                                                       readonly="readonly"
                                                       style="width:55px; height:25px;border-width: 0px; font-size:15px; border-style: inset">
                                            </td>
                                            <td><input name="B37" type="number" id="B37" onkeyup="Wonkeyup(this)"
                                                       style="width:140px; height:25px"
                                                       onchange="_SetDigitalInput(37);" step="0.001"></td>
                                            <td><input name="B38" type="number" id="B38" onkeyup="Wonkeyup(this)"
                                                       style="width:140px; height:25px"
                                                       onchange="_SetDigitalInput(38);" step="0.001"></td>
                                            <td><input name="B39" type="text" id="B39" readonly="readonly"
                                                       style="width:140px; height:25px;border-width: 0.5px; border-style: inset; background-color: #F3F3F3">
                                            </td>
                                            <td><input name="B40" type="text" id="B40" readonly="readonly"
                                                       style="width:140px; height:25px;border-width: 0.5px; border-style: inset; background-color: #F3F3F3">
                                            </td>
                                            <td style="display: none;"><input name="B41" type="text" id="B41" readonly="readonly">
                                            </td>
                                        </tr>
                                        <tr>
                                            <td><input name="B42" type="text" id="B42" value="7.0000"
                                                       readonly="readonly"
                                                       style="width:55px; height:25px;border-width: 0px; font-size:15px; border-style: inset">
                                            </td>
                                            <td><input name="B43" type="number" id="B43" onkeyup="Wonkeyup(this)"
                                                       style="width:140px; height:25px"
                                                       onchange="_SetDigitalInput(43);" step="0.001"></td>
                                            <td><input name="B44" type="number" id="B44" onkeyup="Wonkeyup(this)"
                                                       style="width:140px; height:25px"
                                                       onchange="_SetDigitalInput(44);" step="0.001"></td>
                                            <td><input name="B45" type="text" id="B45" readonly="readonly"
                                                       style="width:140px; height:25px;border-width: 0.5px; border-style: inset; background-color: #F3F3F3">
                                            </td>
                                            <td><input name="B46" type="text" id="B46" readonly="readonly"
                                                       style="width:140px; height:25px;border-width: 0.5px; border-style: inset; background-color: #F3F3F3">
                                            </td>
                                            <td style="display: none;"><input name="B47" type="text" id="B47" readonly="readonly">
                                            </td>
                                        </tr>
                                        <tr>
                                            <td><input name="B48" type="text" id="B48" value="8.0000"
                                                       readonly="readonly"
                                                       style="width:55px; height:25px;border-width: 0px; font-size:15px; border-style: inset">
                                            </td>
                                            <td><input name="B49" type="number" id="B49" onkeyup="Wonkeyup(this)"
                                                       style="width:140px; height:25px"
                                                       onchange="_SetDigitalInput(49);" step="0.001"></td>
                                            <td><input name="B50" type="number" id="B50" onkeyup="Wonkeyup(this)"
                                                       style="width:140px; height:25px"
                                                       onchange="_SetDigitalInput(50);" step="0.001"></td>
                                            <td><input name="B51" type="text" id="B51" readonly="readonly"
                                                       style="width:140px; height:25px;border-width: 0.5px; border-style: inset; background-color: #F3F3F3">
                                            </td>
                                            <td><input name="B52" type="text" id="B52" readonly="readonly"
                                                       style="width:140px; height:25px;border-width: 0.5px; border-style: inset; background-color: #F3F3F3">
                                            </td>
                                            <td style="display: none;"><input name="B53" type="text" id="B53" readonly="readonly">
                                            </td>
                                        </tr>
                                        <tr>
                                            <td><input name="B54" type="text" id="B54" value="9.0000"
                                                       readonly="readonly"
                                                       style="width:55px; height:25px;border-width: 0px; font-size:15px; border-style: inset">
                                            </td>
                                            <td><input name="B55" type="number" id="B55" onkeyup="Wonkeyup(this)"
                                                       style="width:140px; height:25px"
                                                       onchange="_SetDigitalInput(55);" step="0.001"></td>
                                            <td><input name="B56" type="number" id="B56" onkeyup="Wonkeyup(this)"
                                                       style="width:140px; height:25px"
                                                       onchange="_SetDigitalInput(56);" step="0.001"></td>
                                            <td><input name="B57" type="text" id="B57" readonly="readonly"
                                                       style="width:140px; height:25px;border-width: 0.5px; border-style: inset; background-color: #F3F3F3">
                                            </td>
                                            <td><input name="B58" type="text" id="B58" readonly="readonly"
                                                       style="width:140px; height:25px;border-width: 0.5px; border-style: inset; background-color: #F3F3F3">
                                            </td>
                                            <td style="display: none;"><input name="B59" type="text" id="B59" readonly="readonly">
                                            </td>
                                        </tr>
                                        <tr>
                                            <td><input name="B60" type="text" id="B60" value="10.0000"
                                                       readonly="readonly"
                                                       style="width:55px; height:25px;border-width: 0px; font-size:15px; border-style: inset">
                                            </td>
                                            <td><input name="B61" type="number" id="B61" onkeyup="Wonkeyup(this)"
                                                       style="width:140px; height:25px"
                                                       onchange="_SetDigitalInput(61);" step="0.001"></td>
                                            <td><input name="B62" type="number" id="B62" onkeyup="Wonkeyup(this)"
                                                       style="width:140px; height:25px"
                                                       onchange="_SetDigitalInput(62);" step="0.001"></td>
                                            <td><input name="B63" type="text" id="B63" readonly="readonly"
                                                       style="width:140px; height:25px;border-width: 0.5px; border-style: inset; background-color: #F3F3F3">
                                            </td>
                                            <td><input name="B64" type="text" id="B64" readonly="readonly"
                                                       style="width:140px; height:25px;border-width: 0.5px; border-style: inset; background-color: #F3F3F3">
                                            </td>
                                            <td style="display: none;"><input name="B65" type="text" id="B65" readonly="readonly">
                                            </td>
                                        </tr>
                                        <tr>
                                            <td><input name="B66" type="text" id="B66" value="11.0000"
                                                       readonly="readonly"
                                                       style="width:55px; height:25px;border-width: 0px; font-size:15px; border-style: inset">
                                            </td>
                                            <td><input name="B67" type="number" id="B67" onkeyup="Wonkeyup(this)"
                                                       style="width:140px; height:25px"
                                                       onchange="_SetDigitalInput(67);" step="0.001"></td>
                                            <td><input name="B68" type="number" id="B68" onkeyup="Wonkeyup(this)"
                                                       style="width:140px; height:25px"
                                                       onchange="_SetDigitalInput(68);" step="0.001"></td>
                                            <td><input name="B69" type="text" id="B69" readonly="readonly"
                                                       style="width:140px; height:25px;border-width: 0.5px; border-style: inset; background-color: #F3F3F3">
                                            </td>
                                            <td><input name="B70" type="text" id="B70" readonly="readonly"
                                                       style="width:140px; height:25px;border-width: 0.5px; border-style: inset; background-color: #F3F3F3">
                                            </td>
                                            <td style="display: none;"><input name="B71" type="text" id="B71" readonly="readonly">
                                            </td>
                                        </tr>
                                        <tr>
                                            <td><input name="B72" type="text" id="B72" value="12.0000"
                                                       readonly="readonly"
                                                       style="width:55px; height:25px;border-width: 0px; font-size:15px; border-style: inset">
                                            </td>
                                            <td><input name="B73" type="number" id="B73" onkeyup="Wonkeyup(this)"
                                                       style="width:140px; height:25px"
                                                       onchange="_SetDigitalInput(73);" step="0.001"></td>
                                            <td><input name="B74" type="number" id="B74" onkeyup="Wonkeyup(this)"
                                                       style="width:140px; height:25px"
                                                       onchange="_SetDigitalInput(74);" step="0.001"></td>
                                            <td><input name="B75" type="text" id="B75" readonly="readonly"
                                                       style="width:140px; height:25px;border-width: 0.5px; border-style: inset; background-color: #F3F3F3">
                                            </td>
                                            <td><input name="B76" type="text" id="B76" readonly="readonly"
                                                       style="width:140px; height:25px;border-width: 0.5px; border-style: inset; background-color: #F3F3F3">
                                            </td>
                                            <td style="display: none;"><input name="B77" type="text" id="B77" readonly="readonly">
                                            </td>
                                        </tr>
                                        <tr>
                                            <td><input name="B78" type="text" id="B78" value="13.0000"
                                                       readonly="readonly"
                                                       style="width:55px; height:25px;border-width: 0px; font-size:15px; border-style: inset">
                                            </td>
                                            <td><input name="B79" type="number" id="B79" onkeyup="Wonkeyup(this)"
                                                       style="width:140px; height:25px"
                                                       onchange="_SetDigitalInput(79);" step="0.001"></td>
                                            <td><input name="B80" type="number" id="B80" onkeyup="Wonkeyup(this)"
                                                       style="width:140px; height:25px"
                                                       onchange="_SetDigitalInput(80);" step="0.001"></td>
                                            <td><input name="B81" type="text" id="B81" readonly="readonly"
                                                       style="width:140px; height:25px;border-width: 0.5px; border-style: inset; background-color: #F3F3F3">
                                            </td>
                                            <td><input name="B82" type="text" id="B82" readonly="readonly"
                                                       style="width:140px; height:25px;border-width: 0.5px; border-style: inset; background-color: #F3F3F3">
                                            </td>
                                            <td style="display: none;"><input name="B83" type="text" id="B83" readonly="readonly">
                                            </td>
                                        </tr>
                                        <tr>
                                            <td><input name="B84" type="text" id="B84" value="14.0000"
                                                       readonly="readonly"
                                                       style="width:55px; height:25px;border-width: 0px; font-size:15px; border-style: inset">
                                            </td>
                                            <td><input name="B85" type="number" id="B85" onkeyup="Wonkeyup(this)"
                                                       style="width:140px; height:25px"
                                                       onchange="_SetDigitalInput(85);" step="0.001"></td>
                                            <td><input name="B86" type="number" id="B86" onkeyup="Wonkeyup(this)"
                                                       style="width:140px; height:25px"
                                                       onchange="_SetDigitalInput(86);" step="0.001"></td>
                                            <td><input name="B87" type="text" id="B87" readonly="readonly"
                                                       style="width:140px; height:25px;border-width: 0.5px; border-style: inset; background-color: #F3F3F3">
                                            </td>
                                            <td><input name="B88" type="text" id="B88" readonly="readonly"
                                                       style="width:140px; height:25px;border-width: 0.5px; border-style: inset; background-color: #F3F3F3">
                                            </td>
                                            <td style="display: none;"><input name="B89" type="text" id="B89" readonly="readonly">
                                            </td>
                                        </tr>
                                        </tbody>
                                    </table>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="c-content-panel">
                        <div class="c-label">电计电压挡示值误差</div>
                        <div class="c-body">
                            <div class="row">
                                <div class="col-md-12">
                                    <table class="table table-bordered">
                                        <!-- <caption>检定仪量程：±<input name="C105" type="text" id="C105" value="2000"
                                                                    readonly="readonly"
                                                                    style="width:75px; height:25px;border-width: 0px; font-size:15px; border-style: inset">
                                            mV 仪器量程： <input name="C106" type="text" id="C106" readonly="readonly"
                                                style="width:75px; height:25px;border-width: 0px; font-size:15px; border-style: inset">
                                            mV
                                        </caption> -->

                                        <caption>
                                            检定仪量程：±<input name="C105" type="text" id="C105" value="2000"
                                                                    readonly="readonly"
                                                                    style="width:75px; height:25px;border-width: 0px; font-size:15px; border-style: inset">
                                            mV 仪器量程： <input name="C106" type="text" id="C106" readonly="readonly"
                                                                style="width:75px; height:25px;border-width: 0px; font-size:15px; border-style: inset">
                                            mV 
                                             电计电压挡示值误差(%FS)：
                                            <input name="C6" type="text" id="C6" readonly="readonly" 
                                                style="width:140px; height:25px;border-width: 0.5px; border-style: inset; background-color: #F3F3F3">
                                        </caption>

                                        <tbody>
                                            <tr>
                                                <th scope="row">输入标准电位</th>
                                                <th colspan="3">电计电压示值(mV)</th>

                                            <th>电计电压</th>
                                            <th>电计电压</th>
                                        </tr>
                                        <tr>
                                            <td>(mV)</td>
                                            <td>1</td>
                                            <td>2</td>
                                            <td>平均</td>
                                            <td>示值误差(mV)</td>
                                            <td>引用误差(%FS)</td>
                                        </tr>
                                        <tr>
                                            <td><input name="C0" type="text" id="C0" value="0.0" readonly="readonly"
                                                       style="width:75px; height:25px;border-width: 0px; font-size:15px; border-style: inset">
                                            </td>
                                            <td><input name="C1" type="number" id="C1" onkeyup="CupperCase(this)"
                                                       onchange="SetDigitalInput(1);" style="width:140px; height:25px" step="0.001">
                                            </td>
                                            <td><input name="C2" type="number" id="C2" onkeyup="CupperCase(this)"
                                                       onchange="SetDigitalInput(2);" style="width:140px; height:25px" step="0.001">
                                            </td>
                                            <td><input name="C3" type="text" id="C3" readonly="readonly"
                                                       style="width:140px; height:25px;border-width: 0.5px; border-style: inset; background-color: #F3F3F3">
                                            </td>
                                            <td><input name="C4" type="text" id="C4" readonly="readonly"
                                                       style="width:140px; height:25px;border-width: 0.5px; border-style: inset; background-color: #F3F3F3">
                                            </td>
                                            <td><input name="C5" type="text" id="C5" readonly="readonly"
                                                       style="width:140px; height:25px;border-width: 0.5px; border-style: inset; background-color: #F3F3F3">
                                            </td>
                                            <td style="display: none;"><input name="C6" type="text" id="C6" readonly="readonly">
                                            </td>
                                        </tr>
                                        <tr>
                                            <td><input name="C7" type="text" id="C7" value="1.0" readonly="readonly"
                                                       style="width:75px; height:25px;border-width: 0px; font-size:15px; border-style: inset">
                                            </td>
                                            <td><input name="C8" type="number" id="C8" onkeyup="CupperCase(this)"
                                                       onchange="SetDigitalInput(8);" style="width:140px; height:25px" step="0.001">
                                            </td>
                                            <td><input name="C9" type="number" id="C9" onkeyup="CupperCase(this)"
                                                       onchange="SetDigitalInput(9);" style="width:140px; height:25px" step="0.001">
                                            </td>
                                            <td><input name="C10" type="text" id="C10" readonly="readonly"
                                                       style="width:140px; height:25px;border-width: 0.5px; border-style: inset; background-color: #F3F3F3">
                                            </td>
                                            <td><input name="C11" type="text" id="C11" readonly="readonly"
                                                       style="width:140px; height:25px;border-width: 0.5px; border-style: inset; background-color: #F3F3F3">
                                            </td>
                                            <td><input name="C12" type="text" id="C12" readonly="readonly"
                                                       style="width:140px; height:25px;border-width: 0.5px; border-style: inset; background-color: #F3F3F3">
                                            </td>
                                            <td style="display: none;"><input name="C13" type="text" id="C13" readonly="readonly">
                                            </td>
                                        </tr>
                                        <tr>
                                            <td><input name="C14" type="text" id="C14" value="10.0" readonly="readonly"
                                                       style="width:75px; height:25px;border-width: 0px; font-size:15px; border-style: inset">
                                            </td>
                                            <td><input name="C15" type="number" id="C15" onkeyup="CupperCase(this)"
                                                       onchange="SetDigitalInput(15);" style="width:140px; height:25px" step="0.001">
                                            </td>
                                            <td><input name="C16" type="number" id="C16" onkeyup="CupperCase(this)"
                                                       onchange="SetDigitalInput(16);" style="width:140px; height:25px" step="0.001">
                                            </td>
                                            <td><input name="C17" type="text" id="C17" readonly="readonly"
                                                       style="width:140px; height:25px;border-width: 0.5px; border-style: inset; background-color: #F3F3F3">
                                            </td>
                                            <td><input name="C18" type="text" id="C18" readonly="readonly"
                                                       style="width:140px; height:25px;border-width: 0.5px; border-style: inset; background-color: #F3F3F3">
                                            </td>
                                            <td><input name="C19" type="text" id="C19" readonly="readonly"
                                                       style="width:140px; height:25px;border-width: 0.5px; border-style: inset; background-color: #F3F3F3">
                                            </td>
                                            <td style="display: none;"><input name="C20" type="text" id="C20" readonly="readonly">
                                            </td>
                                        </tr>
                                        <tr>
                                            <td><input name="C21" type="text" id="C21" value="100.0" readonly="readonly"
                                                       style="width:75px; height:25px;border-width: 0px; font-size:15px; border-style: inset">
                                            </td>
                                            <td><input name="C22" type="number" id="C22" onkeyup="CupperCase(this)"
                                                       onchange="SetDigitalInput(22);" style="width:140px; height:25px" step="0.001">
                                            </td>
                                            <td><input name="C23" type="number" id="C23" onkeyup="CupperCase(this)"
                                                       onchange="SetDigitalInput(23);" style="width:140px; height:25px" step="0.001">
                                            </td>
                                            <td><input name="C24" type="text" id="C24" readonly="readonly"
                                                       style="width:140px; height:25px;border-width: 0.5px; border-style: inset; background-color: #F3F3F3">
                                            </td>
                                            <td><input name="C25" type="text" id="C25" readonly="readonly"
                                                       style="width:140px; height:25px;border-width: 0.5px; border-style: inset; background-color: #F3F3F3">
                                            </td>
                                            <td><input name="C26" type="text" id="C26" readonly="readonly"
                                                       style="width:140px; height:25px;border-width: 0.5px; border-style: inset; background-color: #F3F3F3">
                                            </td>
                                            <td style="display: none;"><input name="C27" type="text" id="C27" readonly="readonly">
                                            </td>
                                        </tr>
                                        <tr>

                                            <td><input name="C28" type="text" id="C28" value="500.0" readonly="readonly"
                                                       style="width:75px; height:25px;border-width: 0px; font-size:15px; border-style: inset">
                                            </td>
                                            <td><input name="C29" type="number" id="C29" onkeyup="CupperCase(this)"
                                                       onchange="SetDigitalInput(29);" style="width:140px; height:25px" step="0.001">
                                            </td>
                                            <td><input name="C30" type="number" id="C30" onkeyup="CupperCase(this)"
                                                       onchange="SetDigitalInput(30);" style="width:140px; height:25px" step="0.001">
                                            </td>
                                            <td><input name="C31" type="text" id="C31" readonly="readonly"
                                                       style="width:140px; height:25px;border-width: 0.5px; border-style: inset; background-color: #F3F3F3">
                                            </td>
                                            <td><input name="C32" type="text" id="C32" readonly="readonly"
                                                       style="width:140px; height:25px;border-width: 0.5px; border-style: inset; background-color: #F3F3F3">
                                            </td>
                                            <td><input name="C33" type="text" id="C33" readonly="readonly"
                                                       style="width:140px; height:25px;border-width: 0.5px; border-style: inset; background-color: #F3F3F3">
                                            </td>
                                            <td style="display: none;"><input name="C34" type="text" id="C34" readonly="readonly">
                                            </td>
                                        </tr>
                                        <tr>

                                            <td><input name="C35" type="text" id="C35" value="1000.0" readonly="readonly"
                                                       style="width:75px; height:25px;border-width: 0px; font-size:15px; border-style: inset">
                                            </td>
                                            <td><input name="C36" type="number" id="C36" onkeyup="CupperCase(this)"
                                                       onchange="SetDigitalInput(36);" style="width:140px; height:25px" step="0.001">
                                            </td>
                                            <td><input name="C37" type="number" id="C37" onkeyup="CupperCase(this)"
                                                       onchange="SetDigitalInput(37);" style="width:140px; height:25px" step="0.001">
                                            </td>
                                            <td><input name="C38" type="text" id="C38" readonly="readonly"
                                                       style="width:140px; height:25px;border-width: 0.5px; border-style: inset; background-color: #F3F3F3">
                                            </td>
                                            <td><input name="C39" type="text" id="C39" readonly="readonly"
                                                       style="width:140px; height:25px;border-width: 0.5px; border-style: inset; background-color: #F3F3F3">
                                            </td>
                                            <td><input name="C40" type="text" id="C40" readonly="readonly"
                                                       style="width:140px; height:25px;border-width: 0.5px; border-style: inset; background-color: #F3F3F3">
                                            </td>
                                            <td style="display: none;"><input name="C41" type="text" id="C41" readonly="readonly">
                                            </td>
                                        </tr>
                                        <tr>
                                            <td><input name="C42" type="text" id="C42" value="1500.0" readonly="readonly"
                                                       style="width:75px; height:25px;border-width: 0px; font-size:15px; border-style: inset">
                                            </td>
                                            <td><input name="C43" type="number" id="C43" onkeyup="CupperCase(this)"
                                                       onchange="SetDigitalInput(43);" style="width:140px; height:25px" step="0.001">
                                            </td>
                                            <td><input name="C44" type="number" id="C44" onkeyup="CupperCase(this)"
                                                       onchange="SetDigitalInput(44);" style="width:140px; height:25px" step="0.001">
                                            </td>
                                            <td><input name="C45" type="text" id="C45" readonly="readonly"
                                                       style="width:140px; height:25px;border-width: 0.5px; border-style: inset; background-color: #F3F3F3">
                                            </td>
                                            <td><input name="C46" type="text" id="C46" readonly="readonly"
                                                       style="width:140px; height:25px;border-width: 0.5px; border-style: inset; background-color: #F3F3F3">
                                            </td>
                                            <td><input name="C47" type="text" id="C47" readonly="readonly"
                                                       style="width:140px; height:25px;border-width: 0.5px; border-style: inset; background-color: #F3F3F3">
                                            </td>
                                            <td style="display: none;"><input name="C48" type="text" id="C48" readonly="readonly">
                                            </td>
                                        </tr>
                                        <tr>
                                            <!-- <td>F2</td>-->
                                            <td><input name="C49" type="text" id="C49" readonly="readonly"
                                                       style="width:75px; height:25px;border-width: 0px; font-size:15px; border-style: inset">
                                            </td>
                                            <td><input name="C50" type="number" id="C50" onkeyup="CupperCase(this)"
                                                       onchange="SetDigitalInput(50);" style="width:140px; height:25px" step="0.001">
                                            </td>
                                            <td><input name="C51" type="number" id="C51" onkeyup="CupperCase(this)"
                                                       onchange="SetDigitalInput(51);" style="width:140px; height:25px" step="0.001">
                                            </td>
                                            <td><input name="C52" type="text" id="C52" readonly="readonly"
                                                       style="width:140px; height:25px;border-width: 0.5px; border-style: inset; background-color: #F3F3F3">
                                            </td>
                                            <td><input name="C53" type="text" id="C53" readonly="readonly"
                                                       style="width:140px; height:25px;border-width: 0.5px; border-style: inset; background-color: #F3F3F3">
                                            </td>
                                            <td><input name="C54" type="text" id="C54" readonly="readonly"
                                                       style="width:140px; height:25px;border-width: 0.5px; border-style: inset; background-color: #F3F3F3">
                                            </td>
                                            <td style="display: none;"><input name="C55" type="text" id="C55" readonly="readonly">
                                            </td>
                                        </tr>
                                        <tr>

                                            <td><input name="C56" type="text" id="C56" value="-1.0" readonly="readonly"
                                                       style="width:75px; height:25px;border-width: 0px; font-size:15px; border-style: inset">
                                            </td>
                                            <td><input name="C57" type="number" id="C57" onkeyup="CupperCase(this)"
                                                       onchange="SetDigitalInput(57);" style="width:140px; height:25px" step="0.001">
                                            </td>
                                            <td><input name="C58" type="number" id="C58" onkeyup="CupperCase(this)"
                                                       onchange="SetDigitalInput(58);" style="width:140px; height:25px" step="0.001">
                                            </td>
                                            <td><input name="C59" type="text" id="C59" readonly="readonly"
                                                       style="width:140px; height:25px;border-width: 0.5px; border-style: inset; background-color: #F3F3F3">
                                            </td>
                                            <td><input name="C60" type="text" id="C60" readonly="readonly"
                                                       style="width:140px; height:25px;border-width: 0.5px; border-style: inset; background-color: #F3F3F3">
                                            </td>
                                            <td><input name="C61" type="text" id="C61" readonly="readonly"
                                                       style="width:140px; height:25px;border-width: 0.5px; border-style: inset; background-color: #F3F3F3">
                                            </td>
                                            <td style="display: none;"><input name="C62" type="text" id="C62" readonly="readonly">
                                            </td>
                                        </tr>
                                        <tr>

                                            <td><input name="C63" type="text" id="C63" value="-10.0" readonly="readonly"
                                                       style="width:75px; height:25px;border-width: 0px; font-size:15px; border-style: inset">
                                            </td>
                                            <td><input name="C64" type="number" id="C64" onkeyup="CupperCase(this)"
                                                       onchange="SetDigitalInput(64);" style="width:140px; height:25px" step="0.001">
                                            </td>
                                            <td><input name="C65" type="number" id="C65" onkeyup="CupperCase(this)"
                                                       onchange="SetDigitalInput(65);" style="width:140px; height:25px" step="0.001">
                                            </td>
                                            <td><input name="C66" type="text" id="C66" readonly="readonly"
                                                       style="width:140px; height:25px;border-width: 0.5px; border-style: inset; background-color: #F3F3F3">
                                            </td>
                                            <td><input name="C67" type="text" id="C67" readonly="readonly"
                                                       style="width:140px; height:25px;border-width: 0.5px; border-style: inset; background-color: #F3F3F3">
                                            </td>
                                            <td><input name="C68" type="text" id="C68" readonly="readonly"
                                                       style="width:140px; height:25px;border-width: 0.5px; border-style: inset; background-color: #F3F3F3">
                                            </td>
                                            <td style="display: none;"><input name="C69" type="text" id="C69" readonly="readonly">
                                            </td>
                                        </tr>
                                        <tr>

                                            <td><input name="C70" type="text" id="C70" value="-100.0" readonly="readonly"
                                                       style="width:75px; height:25px;border-width: 0px; font-size:15px; border-style: inset">
                                            </td>
                                            <td><input name="C71" type="number" id="C71" onkeyup="CupperCase(this)"
                                                       onchange="SetDigitalInput(71);" style="width:140px; height:25px" step="0.001">
                                            </td>
                                            <td><input name="C72" type="number" id="C72" onkeyup="CupperCase(this)"
                                                       onchange="SetDigitalInput(72);" style="width:140px; height:25px" step="0.001">
                                            </td>
                                            <td><input name="C73" type="text" id="C73" readonly="readonly"
                                                       style="width:140px; height:25px;border-width: 0.5px; border-style: inset; background-color: #F3F3F3">
                                            </td>
                                            <td><input name="C74" type="text" id="C74" readonly="readonly"
                                                       style="width:140px; height:25px;border-width: 0.5px; border-style: inset; background-color: #F3F3F3">
                                            </td>
                                            <td><input name="C75" type="text" id="C75" readonly="readonly"
                                                       style="width:140px; height:25px;border-width: 0.5px; border-style: inset; background-color: #F3F3F3">
                                            </td>
                                            <td style="display: none;"><input name="C76" type="text" id="C76" readonly="readonly">
                                            </td>
                                        </tr>
                                        <tr>
                                            <td><input name="C77" type="text" id="C77" value="-500.0" readonly="readonly"
                                                       style="width:75px; height:25px;border-width: 0px; font-size:15px; border-style: inset">
                                            </td>
                                            <td><input name="C78" type="number" id="C78" onkeyup="CupperCase(this)"
                                                       onchange="SetDigitalInput(78);" style="width:140px; height:25px" step="0.001">
                                            </td>
                                            <td><input name="C79" type="number" id="C79" onkeyup="CupperCase(this)"
                                                       onchange="SetDigitalInput(79);" style="width:140px; height:25px" step="0.001">
                                            </td>
                                            <td><input name="C80" type="text" id="C80" readonly="readonly"
                                                       style="width:140px; height:25px;border-width: 0.5px; border-style: inset; background-color: #F3F3F3">
                                            </td>
                                            <td><input name="C81" type="text" id="C81" readonly="readonly"
                                                       style="width:140px; height:25px;border-width: 0.5px; border-style: inset; background-color: #F3F3F3">
                                            </td>
                                            <td><input name="C82" type="text" id="C82" readonly="readonly"
                                                       style="width:140px; height:25px;border-width: 0.5px; border-style: inset; background-color: #F3F3F3">
                                            </td>
                                            <td style="display: none;"><input name="C83" type="text" id="C83" readonly="readonly">
                                            </td>
                                        </tr>
                                        <tr>

                                            <td><input name="C84" type="text" id="C84" value="-1000.0" readonly="readonly"
                                                       style="width:75px; height:25px;border-width: 0px; font-size:15px; border-style: inset">
                                            </td>
                                            <td><input name="C85" type="number" id="C85" onkeyup="CupperCase(this)"
                                                       onchange="SetDigitalInput(85);" style="width:140px; height:25px" step="0.001">
                                            </td>
                                            <td><input name="C86" type="number" id="C86" onkeyup="CupperCase(this)"
                                                       onchange="SetDigitalInput(86);" style="width:140px; height:25px" step="0.001">
                                            </td>
                                            <td><input name="C87" type="text" id="C87" readonly="readonly"
                                                       style="width:140px; height:25px;border-width: 0.5px; border-style: inset; background-color: #F3F3F3">
                                            </td>
                                            <td><input name="C88" type="text" id="C88" readonly="readonly"
                                                       style="width:140px; height:25px;border-width: 0.5px; border-style: inset; background-color: #F3F3F3">
                                            </td>
                                            <td><input name="C89" type="text" id="C89" readonly="readonly"
                                                       style="width:140px; height:25px;border-width: 0.5px; border-style: inset; background-color: #F3F3F3">
                                            </td>
                                            <td style="display: none;"><input name="C90" type="text" id="C90" readonly="readonly">
                                            </td>
                                        </tr>
                                        <tr>

                                            <td><input name="C91" type="text" id="C91" value="-1500.0" readonly="readonly"
                                                       style="width:75px; height:25px;border-width: 0px; font-size:15px; border-style: inset">
                                            </td>
                                            <td><input name="C92" type="number" id="C92" onkeyup="CupperCase(this)"
                                                       onchange="SetDigitalInput(92);" style="width:140px; height:25px" step="0.001">
                                            </td>
                                            <td><input name="C93" type="number" id="C93" onkeyup="CupperCase(this)"
                                                       onchange="SetDigitalInput(93);" style="width:140px; height:25px" step="0.001">
                                            </td>
                                            <td><input name="C94" type="text" id="C94" readonly="readonly"
                                                       style="width:140px; height:25px;border-width: 0.5px; border-style: inset; background-color: #F3F3F3">
                                            </td>
                                            <td><input name="C95" type="text" id="C95" readonly="readonly"
                                                       style="width:140px; height:25px;border-width: 0.5px; border-style: inset; background-color: #F3F3F3">
                                            </td>
                                            <td><input name="C96" type="text" id="C96" readonly="readonly"
                                                       style="width:140px; height:25px;border-width: 0.5px; border-style: inset; background-color: #F3F3F3">
                                            </td>
                                            <td style="display: none;"><input name="C97" type="text" id="C97" readonly="readonly">
                                            </td>
                                        </tr>
                                        <tr>

                                            <td><input name="C98" type="text" id="C98" readonly="readonly"
                                                       style="width:75px; height:25px;border-width: 0px; font-size:15px; border-style: inset">
                                            </td>
                                            <td><input name="C99" type="number" id="C99" onkeyup="CupperCase(this)"
                                                       onchange="SetDigitalInput(99);" style="width:140px; height:25px" step="0.001">
                                            </td>
                                            <td><input name="C100" type="number" id="C100" onkeyup="CupperCase(this)"
                                                       onchange="SetDigitalInput(100);"
                                                       style="width:140px; height:25px" step="0.001"></td>
                                            <td><input name="C101" type="text" id="C101" readonly="readonly"
                                                       style="width:140px; height:25px;border-width: 0.5px; border-style: inset; background-color: #F3F3F3">
                                            </td>
                                            <td><input name="C102" type="text" id="C102" readonly="readonly"
                                                       style="width:140px; height:25px;border-width: 0.5px; border-style: inset; background-color: #F3F3F3">
                                            </td>
                                            <td><input name="C103" type="text" id="C103" readonly="readonly"
                                                       style="width:140px; height:25px;border-width: 0.5px; border-style: inset; background-color: #F3F3F3">
                                            </td>
                                            <td style="display: none;"><input name="C104" type="text" id="C104" readonly="readonly">
                                            </td>
                                        </tr>
                                        </tbody>
                                    </table>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="c-content-panel">
                        <div class="c-label">电计输入电流</div>
                        <div class="c-body">
                            <div class="row">
                                <div class="col-md-12">
                                    <table class="table table-hover">
                                        <caption>
                                              输入电流(×10<sup>-12</sup>A)：
                                            <input name="D6" type="text" id="D6" readonly="readonly" 
                                                style="width:140px; height:25px;border-width: 0.5px; border-style: inset; background-color: #F3F3F3">
                                        </caption>

                                        <tbody>
                                        <tr>
                                            <th>高阻</th>
                                            <th>输入电位</th>
                                            <th colspan="4">电计示值</th>
                                        </tr>
                                        <tr>
                                            <td> (Ω)</td>
                                            <td>(mV)</td>
                                            <td>1</td>
                                            <td>2</td>
                                            <td>3</td>
                                            <td>平均</td>
                                        </tr>
                                        <tr>

                                            <td><input name="D0" type="text" id="D0" readonly="readonly" value="0"
                                                       style="width:140px; height:25px;border-width: 0px; font-size:15px; border-style: inset">
                                            </td>
                                            <td><input name="D1" type="text" id="D1" value="0.000（7PH）"
                                                       style="width:140px; height:25px;border-width: 0px; font-size:15px; border-style: inset">
                                            </td>
                                            <td><input name="D2" type="number" id="D2" onkeyup="Wonkeyup(this)"
                                                       onchange="SetDigitalInputD(2);" style="width:135px; height:25px" step="0.001">
                                            </td>
                                            <td><input name="D3" type="number" id="D3" onkeyup="Wonkeyup(this)"
                                                       onchange="SetDigitalInputD(3);" style="width:135px; height:25px" step="0.001">
                                            </td>
                                            <td><input name="D4" type="number" id="D4" onkeyup="Wonkeyup(this)"
                                                       onchange="SetDigitalInputD(4);" style="width:140px; height:25px" step="0.001">
                                            </td>
                                            <td><input name="D5" type="text" id="D5" readonly="readonly"
                                                       style="width:135px; height:25px;border-width: 0.5px; border-style: inset; background-color: #F3F3F3">
                                            </td>
                                            <td style="display: none;"><input name="D6" type="text" id="D6" readonly="readonly">
                                            </td>

                                        </tr>
                                        <tr>
                                            <td><input name="D7" type="text" id="D7" value="1G"
                                                       style="width:140px; height:25px;border-width: 0px; font-size:15px; border-style: inset">
                                            </td>
                                            <td><input name="D8" type="text" id="D8" value="0.000"
                                                       style="width:140px; height:25px;border-width: 0px; font-size:15px; border-style: inset">
                                            </td>
                                            <td><input name="D9" type="number" id="D9" onkeyup="Wonkeyup(this)"
                                                       onchange="SetDigitalInputD(9);" style="width:135px; height:25px" step="0.001">
                                            </td>
                                            <td><input name="D10" type="number" id="D10" onkeyup="Wonkeyup(this)"
                                                       onchange="SetDigitalInputD(10);"
                                                       style="width:135px; height:25px" step="0.001"></td>
                                            <td><input name="D11" type="number" id="D11" onkeyup="Wonkeyup(this)"
                                                       onchange="SetDigitalInputD(11);"
                                                       style="width:140px; height:25px" step="0.001"></td>
                                            <td><input name="D12" type="text" id="D12" readonly="readonly"
                                                       style="width:135px; height:25px;border-width: 0.5px; border-style: inset; background-color: #F3F3F3">
                                            </td>
                                            <td style="display: none;"><input name="D13" type="text" id="D13" readonly="readonly">
                                            </td>

                                        </tr>
                                        </tbody>
                                    </table>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="c-content-panel">
                        <div class="c-label">电计输入阻抗引起的示值误差和近似等效输入阻抗</div>
                        <div class="c-body">
                            <div class="row">
                                <div class="col-md-12">
                                    <table class="table table-condensed">
                                        <caption>
                                              输入阻抗引起的示值误差(pH)：
                                              <input name="E_max" type="text" id="E_max" readonly="readonly" 
                                                style="width:140px; height:25px;border-width: 0.5px; border-style: inset; background-color: #F3F3F3">
                                               近似等效输入阻抗(×10<sup>12</sup>Ω)：
                                              <input name="E5" type="text" id="E5" readonly="readonly" 
                                                style="width:140px; height:25px;border-width: 0.5px; border-style: inset; background-color: #F3F3F3">
                                        </caption>
                                        <tbody>
                                        <tr>
                                            <th align="center">高阻</th>
                                            <th align="center">输入信号</th>
                                            <th colspan="4" align="center">电计示值</th>
                                            <th rowspan="2" valign="middle">△pH阻抗</th>
                                        </tr>
                                        <tr>
                                            <td>(Ω)</td>
                                            <td>pHD+6</td>
                                            <td align="center">1</td>
                                            <td align="center">2</td>
                                            <td align="center">3</td>
                                            <td align="center">平均</td>


                                        </tr>
                                        <tr>
                                            <td>0</td>
                                            <td>13.0000</td>
                                            <td><input name="E0" type="number" id="E0" onkeyup="Wonkeyup(this)"
                                                       onchange="SetDigitalInputE(0);" style="width:110px; height:25px" step="0.001">
                                            </td>
                                            <td><input name="E1" type="number" id="E1" onkeyup="Wonkeyup(this)"
                                                       onchange="SetDigitalInputE(1);" style="width:110px; height:25px" step="0.001">
                                            </td>
                                            <td><input name="E2" type="number" id="E2" onkeyup="Wonkeyup(this)"
                                                       onchange="SetDigitalInputE(2);" style="width:110px; height:25px" step="0.001">
                                            </td>
                                            <td><input name="E3" type="text" id="E3" readonly="readonly"
                                                       style="width:110px; height:25px;border-width: 0.5px; border-style: inset; background-color: #F3F3F3">
                                            </td>
                                            <td rowspan="2"><input name="E4" type="text" id="E4" readonly="readonly"
                                                    style="width:110px; height:60px;border-width: 0.5px; border-style: inset; background-color: #F3F3F3">
                                            </td>
                                            <td style="display: none;"><input name="E5" type="text" id="E5" readonly="readonly">
                                            </td>

                                            </tr>
                                            <tr>
                                                <td>(<input name="E24" type="text" id="E24"
                                                        style="width:15px; height:25px;border-width: 0px; font-size:17px; font-weight:600; border-style: inset">)G
                                            </td>
                                            <td>13.0000</td>
                                            <td><input name="E6" type="number" id="E6" onkeyup="Wonkeyup(this)"
                                                       onchange="SetDigitalInputE(6);" style="width:110px; height:25px" step="0.001">
                                            </td>
                                            <td><input name="E7" type="number" id="E7" onkeyup="Wonkeyup(this)"
                                                       onchange="SetDigitalInputE(7);" style="width:110px; height:25px" step="0.001">
                                            </td>
                                            <td><input name="E8" type="number" id="E8" onkeyup="Wonkeyup(this)"
                                                       onchange="SetDigitalInputE(8);" style="width:110px; height:25px" step="0.001">
                                            </td>
                                            <td><input name="E9" type="text" id="E9" readonly="readonly"
                                                       style="width:110px; height:25px;border-width: 0.5px; border-style: inset; background-color: #F3F3F3">
                                            </td>
                                            <td style="display: none;"><input name="E10" type="text" id="E10" readonly="readonly">
                                            </td>
                                            <td style="display: none;"><input name="E11" type="text" id="E11" readonly="readonly">
                                            </td>

                                            </tr>

                                        <tr>
                                            <td>0</td>
                                            <td>1.0000</td>
                                            <td><input name="E12" type="number" id="E12" onkeyup="Wonkeyup(this)"
                                                       onchange="SetDigitalInputE(12);"
                                                       style="width:110px; height:25px" step="0.001"></td>
                                            <td><input name="E13" type="number" id="E13" onkeyup="Wonkeyup(this)"
                                                       onchange="SetDigitalInputE(13);"
                                                       style="width:110px; height:25px" step="0.001"></td>
                                            <td><input name="E14" type="number" id="E14" onkeyup="Wonkeyup(this)"
                                                       onchange="SetDigitalInputE(14);"
                                                       style="width:110px; height:25px" step="0.001"></td>
                                            <td><input name="E15" type="text" id="E15" readonly="readonly"
                                                       style="width:110px; height:25px;border-width: 0.5px; border-style: inset; background-color: #F3F3F3">
                                            </td>
                                            <td rowspan="2"><input name="E16" type="text" id="E16" readonly="readonly"
                                                    style="width:110px; height:60px;border-width: 0.5px; border-style: inset; background-color: #F3F3F3">
                                            </td>
                                            <td style="display: none;"><input name="E17" type="text" id="E17" readonly="readonly">
                                            </td>

                                            </tr>
                                            <tr>
                                                <td>(<input name="E25" type="text" id="E25"
                                                        style="width:15px; height:25px;border-width: 0px; font-size:17px; font-weight:600; border-style: inset">)G
                                            </td>
                                            <td>1.0000</td>
                                            <td><input name="E18" type="number" id="E18" onkeyup="Wonkeyup(this)"
                                                       onchange="SetDigitalInputE(18);"
                                                       style="width:110px; height:25px" step="0.001"></td>
                                            <td><input name="E19" type="number" id="E19" onkeyup="Wonkeyup(this)"
                                                       onchange="SetDigitalInputE(19);"
                                                       style="width:110px; height:25px" step="0.001"></td>
                                            <td><input name="E20" type="number" id="E20" onkeyup="Wonkeyup(this)"
                                                       onchange="SetDigitalInputE(20);"
                                                       style="width:110px; height:25px" step="0.001"></td>
                                            <td><input name="E21" type="text" id="E21" readonly="readonly"
                                                       style="width:110px; height:25px;border-width: 0.5px; border-style: inset; background-color: #F3F3F3">
                                            </td>
                                            <td style="display: none;"><input name="E22" type="text" id="E22" readonly="readonly">
                                            </td>
                                            <td style="display: none;"><input name="E23" type="text" id="E23" readonly="readonly">
                                            </td>

                                            </tr>
                                        </tbody>
                                    </table>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="c-content-panel">
                        <div class="c-label"> 温度补偿引起的示值误差和温度探头测温误差</div>
                        <div class="c-body">
                            <div class="row">
                                <div class="col-md-12">
                                    <table class="table">
                                        <!-- <caption>温度补偿类型：手动 <input id="F40" type="checkbox" name="F40"> 自动
                                            <input id="F41" type="checkbox" name="F41"></caption> -->
                                        <caption>
                                              温度补偿引起的示值误差(pH)：
                                            <input name="F_szwc" type="text" id="F_szwc" readonly="readonly" 
                                                style="width:140px; height:25px;border-width: 0.5px; border-style: inset; background-color: #F3F3F3">
                                   
                                               <span class="instrument-dependent">温度探头测温误差(℃)：</span>
                                            <input name="F_cwwc" type="text" id="F_cwwc" readonly="readonly" 
                                                style="width:140px; height:25px;border-width: 0.5px; border-style: inset; background-color: #F3F3F3" 
                                                class="instrument-dependent">
                                        </caption>
                                        <tbody>
                                        <tr>
                                            <th>温度补偿</th>
                                            <th class="instrument-dependent">恒温水浴</th>
                                            <th>输入信号</th>
                                            <th colspan="3">电计示值</th>

                                            <th rowspan="2">△pH温度</th>
                                            <th class="instrument-dependent">温度探头</th>

                                        </tr>
                                        <tr>
                                            <td>示值(℃)</td>
                                            <td class="instrument-dependent">示值(℃)</td>
                                            <td>pHD+6</td>
                                            <td>1</td>
                                            <td>2</td>
                                            <td>平均</td>
                                            <td class="instrument-dependent">测温误差(℃)</td>
                                        </tr>
                                        <tr>
                                            <td><input name="F0" type="text" id="F0" value="5"
                                                       style="width:110px; height:25px;border-width: 0px; font-size:15px; border-style: inset">
                                            </td>
                                            <td class="instrument-dependent"><input name="F1" type="number" id="F1" style="width:110px; height:25px" step="0.001">
                                            </td>
                                            <td><input name="F2" type="text" id="F2" readonly="readonly" value="13.0000"
                                                       style="width:110px; height:25px;border-width: 0px; font-size:15px; border-style: inset">
                                            </td>
                                            <td><input name="F3" type="number" id="F3" onkeyup="Wonkeyup(this)"
                                                       onchange="SetDigitalInputF(3);" style="width:110px; height:25px" step="0.001">
                                            </td>
                                            <td><input name="F4" type="number" id="F4" onkeyup="Wonkeyup(this)"
                                                       onchange="SetDigitalInputF(4);" style="width:110px; height:25px" step="0.001">
                                            </td>
                                            <td><input name="F5" type="text" id="F5" readonly="readonly"
                                                       style="width:110px; height:25px;border-width: 0.5px; border-style: inset; background-color: #F3F3F3">
                                            </td>
                                            <td><input name="F6" type="text" id="F6" readonly="readonly"
                                                       style="width:110px; height:25px;border-width: 0.5px; border-style: inset; background-color: #F3F3F3">
                                            </td>
                                            <td class="instrument-dependent"><input name="F7" type="text" id="F7" readonly="readonly"
                                                       style="width:110px; height:25px;border-width: 0.5px; border-style: inset; background-color: #F3F3F3">
                                            </td>
                                        </tr>
                                        <tr>
                                            <td><input name="F8" type="text" id="F8" value="15"
                                                       style="width:110px; height:25px;border-width: 0px; font-size:15px; border-style: inset">
                                            </td>
                                            <td class="instrument-dependent"><input name="F9" type="number" id="F9" style="width:110px; height:25px" step="0.001">
                                            </td>
                                            <td><input name="F10" type="text" id="F10" readonly="readonly"
                                                       value="13.0000"
                                                       style="width:110px; height:25px;border-width: 0px; font-size:15px; border-style: inset">
                                            </td>
                                            <td><input name="F11" type="number" id="F11" onkeyup="Wonkeyup(this)"
                                                       onchange="SetDigitalInputF(11);"
                                                       style="width:110px; height:25px" step="0.001"></td>
                                            <td><input name="F12" type="number" id="F12" onkeyup="Wonkeyup(this)"
                                                       onchange="SetDigitalInputF(12);"
                                                       style="width:110px; height:25px" step="0.001"></td>
                                            <td><input name="F13" type="text" id="F13" readonly="readonly"
                                                       style="width:110px; height:25px;border-width: 0.5px; border-style: inset; background-color: #F3F3F3">
                                            </td>
                                            <td><input name="F14" type="text" id="F14" readonly="readonly"
                                                       style="width:110px; height:25px;border-width: 0.5px; border-style: inset; background-color: #F3F3F3">
                                            </td>
                                            <td class="instrument-dependent"><input name="F15" type="text" id="F15" readonly="readonly"
                                                       style="width:110px; height:25px;border-width: 0.5px; border-style: inset; background-color: #F3F3F3">
                                            </td>
                                        </tr>
                                        <tr>
                                            <td><input name="F16" type="text" id="F16" value="25"
                                                       style="width:110px; height:25px;border-width: 0px; font-size:15px; border-style: inset">
                                            </td>
                                            <td class="instrument-dependent"><input name="F17" type="number" id="F17" style="width:110px; height:25px" step="0.001">
                                            </td>
                                            <td><input name="F18" type="text" id="F18" readonly="readonly"
                                                       value="13.0000"
                                                       style="width:110px; height:25px;border-width: 0px; font-size:15px; border-style: inset">
                                            </td>
                                            <td><input name="F19" type="number" id="F19" onkeyup="Wonkeyup(this)"
                                                       onchange="SetDigitalInputF(19);"
                                                       style="width:110px; height:25px" step="0.001"></td>
                                            <td><input name="F20" type="number" id="F20" onkeyup="Wonkeyup(this)"
                                                       onchange="SetDigitalInputF(20);"
                                                       style="width:110px; height:25px" step="0.001"></td>
                                            <td><input name="F21" type="text" id="F21" readonly="readonly"
                                                       style="width:110px; height:25px;border-width: 0.5px; border-style: inset; background-color: #F3F3F3">
                                            </td>
                                            <td><input name="F22" type="text" id="F22" readonly="readonly"
                                                       style="width:110px; height:25px;border-width: 0.5px; border-style: inset; background-color: #F3F3F3">
                                            </td>
                                            <td class="instrument-dependent"><input name="F23" type="text" id="F23" readonly="readonly"
                                                       style="width:110px; height:25px;border-width: 0.5px; border-style: inset; background-color: #F3F3F3">
                                            </td>
                                        </tr>
                                        <tr>
                                            <td><input name="F24" type="text" id="F24" value="45"
                                                       style="width:110px; height:25px;border-width: 0px; font-size:15px; border-style: inset">
                                            </td>
                                            <td class="instrument-dependent"><input name="F25" type="number" id="F25" style="width:110px; height:25px" step="0.001">
                                            </td>
                                            <td><input name="F26" type="text" id="F26" readonly="readonly"
                                                       value="13.0000"
                                                       style="width:110px; height:25px;border-width: 0px; font-size:15px; border-style: inset">
                                            </td>
                                            <td><input name="F27" type="number" id="F27" onkeyup="Wonkeyup(this)"
                                                       onchange="SetDigitalInputF(27);"
                                                       style="width:110px; height:25px" step="0.001"></td>
                                            <td><input name="F28" type="number" id="F28" onkeyup="Wonkeyup(this)"
                                                       onchange="SetDigitalInputF(28);"
                                                       style="width:110px; height:25px" step="0.001"></td>
                                            <td><input name="F29" type="text" id="F29" readonly="readonly"
                                                       style="width:110px; height:25px;border-width: 0.5px; border-style: inset; background-color: #F3F3F3">
                                            </td>
                                            <td><input name="F30" type="text" id="F30" readonly="readonly"
                                                       style="width:110px; height:25px;border-width: 0.5px; border-style: inset; background-color: #F3F3F3">
                                            </td>
                                            <td class="instrument-dependent"><input name="F31" type="text" id="F31" readonly="readonly"
                                                       style="width:110px; height:25px;border-width: 0.5px; border-style: inset; background-color: #F3F3F3">
                                            </td>
                                        </tr>
                                        <tr>
                                            <td><input name="F32" type="text" id="F32" value="60"
                                                       style="width:110px; height:25px;border-width: 0px; font-size:15px; border-style: inset">
                                            </td>
                                            <td class="instrument-dependent"><input name="F33" type="number" id="F33" style="width:110px; height:25px" step="0.001">
                                            </td>
                                            <td><input name="F34" type="text" id="F34" readonly="readonly"
                                                       value="13.0000"
                                                       style="width:110px; height:25px;border-width: 0px; font-size:15px; border-style: inset">
                                            </td>
                                            <td><input name="F35" type="number" id="F35" onkeyup="Wonkeyup(this)"
                                                       onchange="SetDigitalInputF(35);"
                                                       style="width:110px; height:25px" step="0.001"></td>
                                            <td><input name="F36" type="number" id="F36" onkeyup="Wonkeyup(this)"
                                                       onchange="SetDigitalInputF(36);"
                                                       style="width:110px; height:25px" step="0.001"></td>
                                            <td><input name="F37" type="text" id="F37" readonly="readonly"
                                                       style="width:110px; height:25px;border-width: 0.5px; border-style: inset; background-color: #F3F3F3">
                                            </td>
                                            <td><input name="F38" type="text" id="F38" readonly="readonly"
                                                       style="width:110px; height:25px;border-width: 0.5px; border-style: inset; background-color: #F3F3F3">
                                            </td>
                                            <td class="instrument-dependent"><input name="F39" type="text" id="F39" readonly="readonly"
                                                       style="width:110px; height:25px;border-width: 0.5px; border-style: inset; background-color: #F3F3F3">
                                            </td>
                                        </tr>
                                        </tbody>
                                    </table>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="c-content-panel">
                        <div class="c-label"> 电计示值重复性</div>
                        <div class="c-body">
                            <div class="row">
                                <div class="col-md-12">
                                    <table class="table">
                                        <caption>高阻 1×GΩ</caption>
                                        <tbody>
                                            <tr>
                                                <th align="center">输入信号</th>

                                                <th colspan="6" align="center">电计示值</th>

                                                <th rowspan="2" align="center">示值重复性</th>


                                            </tr>
                                            <tr>
                                                <td align="center">pHD+3</td>
                                                <td align="center">1</td>
                                                <td align="center">2</td>
                                                <td align="center">3</td>
                                                <td align="center">4</td>
                                                <td align="center">5</td>
                                                <td align="center">6</td>
                                            </tr>
                                            <tr>
                                                <td><input name="G0" type="text" id="G0" value="10.0000"
                                                        style="width:110px; height:25px;border-width: 0px; font-size:15px; border-style: inset">
                                                </td>
                                                <td><input name="G1" type="number" id="G1" onkeyup="Wonkeyup(this)"
                                                        onchange="SetDigitalInputG(1);"
                                                        style="width:110px; height:25px" step="0.001">
                                                </td>
                                                <td><input name="G2" type="number" id="G2" onkeyup="Wonkeyup(this)"
                                                        onchange="SetDigitalInputG(2);"
                                                        style="width:110px; height:25px" step="0.001">
                                                </td>
                                                <td><input name="G3" type="number" id="G3" onkeyup="Wonkeyup(this)"
                                                        onchange="SetDigitalInputG(3);"
                                                        style="width:110px; height:25px" step="0.001">
                                                </td>
                                                <td><input name="G4" type="number" id="G4" onkeyup="Wonkeyup(this)"
                                                        onchange="SetDigitalInputG(4);"
                                                        style="width:110px; height:25px" step="0.001">
                                                </td>
                                                <td><input name="G5" type="number" id="G5" onkeyup="Wonkeyup(this)"
                                                        onchange="SetDigitalInputG(5);"
                                                        style="width:110px; height:25px" step="0.001">
                                                </td>
                                                <td><input name="G6" type="number" id="G6" onkeyup="Wonkeyup(this)"
                                                        onchange="SetDigitalInputG(6);"
                                                        style="width:110px; height:25px" step="0.001">
                                                </td>
                                                <td><input name="G7" type="text" id="G7" readonly="readonly"
                                                        style="width:110px; height:25px;border-width: 0.5px; border-style: inset; background-color: #F3F3F3">
                                                </td>
                                            </tr>
                                        </tbody>
                                    </table>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="c-content-panel instrument-dependent" id="instrumentSection">
                        <div class="c-label"> 仪器示值误差及重复性</div>
                        <div class="c-body">
                            <div class="row">
                                <div class="col-md-12">
                                    <table class="table">
                                        <!-- <caption>pH 电极编号：</caption> -->
                                        <caption>
                                              仪器示值误差(pH)：
                                            <input name="H_szwc" type="text" id="H_szwc" readonly="readonly" 
                                                style="width:140px; height:25px;border-width: 0.5px; border-style: inset; background-color: #F3F3F3">
                                   
                                               仪器示值重复性(pH)：
                                            <input name="H4" type="text" id="H4" readonly="readonly" 
                                                style="width:140px; height:25px;border-width: 0.5px; border-style: inset; background-color: #F3F3F3">
                                        </caption>
                                        <tbody>
                                            <tr>
                                                <th>液温</th>
                                                <th colspan="3">pH 有证标准物质</th>
                                                <th>仪器测量值</th>
                                                <th>平均值</th>
                                            </tr>
                                            <tr>
                                                <td><input name="H0" type="text" id="H0" value="25℃"
                                                        style="width:110px; height:25px;border-width: 0px; font-size:15px; border-style: inset">
                                                </td>
                                                <td rowspan="2" valign="middle" align="center">定位</td>
                                                <td>批号</td>
                                                <td><input name="H1" type="text" id="H1"
                                                        onkeyup="Wonkeyup(this)" style="width:110px; height:25px"></td>
                                                <td><input name="H2" type="number" id="H2"
                                                        onkeyup="Wonkeyup(this)" onchange="SetDigitalInputH(2);"
                                                        style="width:110px; height:25px" step="0.001">
                                                </td>
                                                <td rowspan="6"><input name="H3" type="text" id="H3" readonly="readonly"
                                                    style="width:110px; height:200px;border-width: 0.5px; border-style: inset; background-color: #F3F3F3">
                                                </td>
                                                <td style="display: none;"><input name="H4" type="text" id="H4" readonly="readonly">
                                                </td>
                                            </tr>
                                            <tr>
                                                <td><input name="H5" type="text" id="H5" value="25℃"
                                                        style="width:110px; height:25px;border-width: 0px; font-size:15px; border-style: inset">
                                                </td>

                                                <td>定值</td>
                                                <td><input name="H6" type="number" id="H6"
                                                        onkeyup="Wonkeyup(this)" style="width:110px; height:25px" step="0.001"></td>
                                                <td><input name="H7" type="number" id="H7"
                                                        onkeyup="Wonkeyup(this)" onchange="SetDigitalInputH(7);"
                                                        style="width:110px; height:25px" step="0.001">
                                                </td>
                                                <td style="display: none;"><input name="H8" type="text" id="H8" readonly="readonly">
                                                </td>
                                                <td style="display: none;"><input name="H9" type="text" id="H9" readonly="readonly">
                                                </td>
                                            </tr>
                                            <tr>
                                                <td><input name="H10" type="text" id="H10" value="25℃"
                                                        style="width:110px; height:25px;border-width: 0px; font-size:15px; border-style: inset">
                                                </td>
                                                <td rowspan="2" valign="middle" align="center">斜率</td>
                                                <td>批号</td>
                                                <td><input name="H11" type="text" id="H11"
                                                        onkeyup="Wonkeyup(this)" style="width:110px; height:25px"></td>
                                                <td><input name="H12" type="number" id="H12"
                                                        onkeyup="Wonkeyup(this)" onchange="SetDigitalInputH(12);"
                                                        style="width:110px; height:25px" step="0.001"></td>
                                                <td style="display: none;"><input name="H13" type="text" id="H13" readonly="readonly">
                                                </td>
                                                <td style="display: none;"><input name="H14" type="text" id="H14" readonly="readonly">
                                                </td>
                                            </tr>
                                            <tr>
                                                <td><input name="H15" type="text" id="H15" value="25℃"
                                                        style="width:110px; height:25px;border-width: 0px; font-size:15px; border-style: inset">
                                                </td>

                                                <td>定值</td>
                                                <td><input name="H16" type="number" id="H16"
                                                        onkeyup="Wonkeyup(this)" style="width:110px; height:25px" step="0.001"></td>
                                                <td><input name="H17" type="number" id="H17"
                                                        onkeyup="Wonkeyup(this)" onchange="SetDigitalInputH(17);"
                                                        style="width:110px; height:25px" step="0.001"></td>
                                                <td style="display: none;"><input name="H18" type="text" id="H18" readonly="readonly">
                                                </td>
                                                <td style="display: none;"><input name="H19" type="text" id="H19" readonly="readonly">
                                                </td>
                                            </tr>
                                            <tr>
                                                <td><input name="H20" type="text" id="H20" value="25℃"
                                                        style="width:110px; height:25px;border-width: 0px; font-size:15px; border-style: inset">
                                                </td>
                                                <td rowspan="2" valign="middle" align="center">待测</td>
                                                <td>批号</td>
                                                <td><input name="H21" type="text" id="H21"
                                                        onkeyup="Wonkeyup(this)" style="width:110px; height:25px"></td>
                                                <td><input name="H22" type="number" id="H22"
                                                        onkeyup="Wonkeyup(this)" onchange="SetDigitalInputH(22);"
                                                        style="width:110px; height:25px" step="0.001"></td>
                                                <td style="display: none;"><input name="H23" type="text" id="H23" readonly="readonly">
                                                </td>
                                                <td style="display: none;"><input name="H24" type="text" id="H24" readonly="readonly">
                                                </td>
                                            </tr>
                                            <tr>
                                                <td><input name="H25" type="text" id="H25" value="25℃"
                                                        style="width:110px; height:25px;border-width: 0px; font-size:15px; border-style: inset">
                                                </td>

                                                <td>定值</td>
                                                <td><input name="H26" type="number" id="H26"
                                                        onkeyup="Wonkeyup(this)" style="width:110px; height:25px" step="0.001"></td>
                                                <td><input name="H27" type="number" id="H27"
                                                        onkeyup="Wonkeyup(this)" onchange="SetDigitalInputH(27);"
                                                        style="width:110px; height:25px" step="0.001"></td>
                                                <td style="display: none;"><input name="H28" type="text" id="H28" readonly="readonly">
                                                </td>
                                                <td style="display: none;"><input name="H29" type="text" id="H29" readonly="readonly">
                                                </td>
                                            </tr>
                                        </tbody>
                                    </table>
                                </div>
                            </div>
                        </div>
                    </div>




                    <div class="c-content-panel">
                        <div class="c-label">本次校准结果的扩展不确定度 (<i>k</i>=2)</div>
                        <div class="c-body">
                            <div class="row">
                                <div class="col-md-12">
                                    <div class="table-responsive">
                                        <table class="table">
                                            <tbody>
                                                <tr>
                                                    <th>电计(pH):<i>U</i>=</th>
                                                    <th>电计(mV):<i>U</i>=</th>
                                                    <th>仪器示值误差在( <input name="K0" type="text" id="K0" value="/"
                                                            style="width:110px; height:25px"> pH)处:<i>U</i>=
                                                    </th>

                                                </tr>
                                                <tr>
                                                    <th><input name="K1" type="text" id="K1"
                                                            style="width:110px; height:25px"></th>
                                                    <td><input name="K2" type="text" id="K2"
                                                            style="width:110px; height:25px"></td>
                                                    <td><input name="K3" type="text" id="K3" value="/"
                                                            style="width:110px; height:25px"></td>
                                                </tr>
                                            </tbody>
                                        </table>
                                    </div>
                                    <div class="table-responsive">
                                        <table class="table table-bordered">

                                            <tbody>
                                                <tr>
                                                    <th>校准员：</th>
                                                    <td><input name="calibrator" type="text" id="calibrator"
                                                            style="width:110px; height:25px;border-width: 0.5px; border-style: inset; background-color: #F3F3F3"
                                                            value="{{ windows_user }}"></td>
                                                    <th>核验员</th>
                                                    <td><input name="inspector_Users" type="text" id="inspector_Users"
                                                            style="width:110px; height:25px"></td>
                                                </tr>
                                            </tbody>
                                        </table>
                                        <div class="S001">
                                            <br>
                                            <table>
                                                <tbody>
                                                    <!-- <tr>
                                                        <td colspan="5" align="center">
                                                            <input type="submit" name="Button2" value="提交校准"
                                                                onclick="javascript:if(Button2_onclick()==false) return false;"
                                                                id="Button2" style="width:80px;">
                                                        </td>

                                                    </tr> -->

                                                    <tr>
                                                        <td colspan="5" align="center">
                                                            <a href="/list/" class="btn btn-default btn-xs" style="margin-top: 10px;width: 80px;">取  消</a>
                                                        </td>
                                                    </tr>
                                                </tbody>
                                            </table>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </form>
</body>

{% endblock %}

{% block js %}
<script src="/static/js/ph.js" type="text/javascript"></script>
<script src="/static/bootstrap/js/jquery.min.js" type="text/javascript"></script>
<script>
    // 控制仪器示值误差部分的显示
    function toggleInstrumentSectionDisplay() {
        // 选择所有具有instrument-dependent类的元素
        var instrumentElements = $('.instrument-dependent');
        
        // 检查是否选择了整机示值误差(value="1")
        var yqChecked = $('#A1PH_Jzxm_1').is(':checked');
        
        if (yqChecked) {
            // 如果选中了整机示值误差，则显示相关元素
            instrumentElements.show();
        } else {
            // 如果未选中整机示值误差，则隐藏相关元素
            instrumentElements.hide();
        }
    }


    $(document).ready(function () {
        var data_obj = {{ obj | safe }}

        $.each(data_obj, function (key, value) {
            var inputSelector = $('input[name="' + key + '"]');
            if (inputSelector.length) {
                inputSelector.val(value);
                inputSelector.attr("readonly", "readonly");
            }

            $('select[name="BLPH_Bh17"]').val(data_obj["BLPH_Bh17"]);
            $('select[name="A1PH_Level08"]').val(data_obj["A1PH_Level08"]);
            $('#submit').attr("disabled", "disabled");
            $('select').attr("disabled", "disabled");
            $('input').attr("disabled", "disabled");

        });

        // 从 data_obj 对象中获取并据此判断
        var jzxmValue = data_obj["A1PH_Jzxm"] || "1";
        
        // 根据值设置相应的复选框为选中状态
        if (jzxmValue === "0") {
            $('#A1PH_Jzxm_0').prop('checked', true);
        } else if (jzxmValue === "1") {
            $('#A1PH_Jzxm_1').prop('checked', true);
        }
        
        // 调用显示控制函数
        toggleInstrumentSectionDisplay();
    })

</script>

{% endblock %}